﻿<%@ Page Title="Editar reserva" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="EditarReservasFaturadas.aspx.cs" Inherits="TCC_Hotel.Apresentacao.Reservas.EditarReservasFaturadas" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 280px;
        }
        .style2
        {
            width: 279px;
        }
    </style>
    <script src="../../Scripts/jquery-1.7.2.js" type="text/javascript"></script>
    <script src="../../Scripts/Mascaras.js" type="text/javascript"></script>
    <script src="../../Scripts/ReservaFaturada.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <asp:Label ID="lblAviso2" runat="server" Text="- Os campos com * são obrigatórios"
            ForeColor="Red"></asp:Label>
    </div>
    <p class="title-telas">
        Editar reserva de hóspede faturado</p>
    <div style="margin-bottom: 0px">
        <fieldset>
            <legend id="legend2" runat="server">
                <asp:Label ID="Label2" runat="server" Text="Detalhes"></asp:Label></legend>
            <table style="width: 100%;">
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblDataInicio" runat="server" Text="Data inicial:"></asp:Label><br />
                        <asp:TextBox ID="txtDataInicio" Enabled="false" runat="server" Width="150px" MaxLength="10"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lbldataFinal" runat="server" Text="Data final:"></asp:Label><br />
                        <asp:TextBox ID="txtDataFinal" Enabled="false" runat="server" Width="150px" MaxLength="10"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblApartamento" runat="server" Text="Apartamento:"></asp:Label><br />
                        <asp:TextBox ID="txtApartamento" Enabled="false" runat="server" Width="150px" MaxLength="20"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend id="legend3" runat="server">
                <asp:Label ID="Label3" runat="server" Text="Empresa da reserva"></asp:Label>
            </legend>
            <table style="width: 100%;">
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblEmpresa" runat="server" Text="Empresa:"></asp:Label><br />
                        <asp:TextBox Enabled="false" ID="txtEmpresa" runat="server" Width="190px" MaxLength="14"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblCNPJReserva" runat="server" Text="CNPJ da reserva:"></asp:Label><br />
                        <asp:TextBox Enabled="false" ID="txtCNPJReserva" runat="server" Width="165px" MaxLength="14"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        <asp:Label ID="lblEmail" runat="server" Text="Email da empresa:"></asp:Label><br />
                        <asp:TextBox Enabled="false" ID="txtEmailReserva" runat="server" Width="190px" MaxLength="12"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblTelefone" runat="server" Text="Telefone:"></asp:Label><br />
                        <asp:TextBox Enabled="false" ID="txtTelefone" runat="server" Width="120px"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend id="legend4" runat="server">
                <asp:Label ID="lblNomes" runat="server" Text="Hóspedes"></asp:Label>
            </legend>
            <table style="width: 100%;">
                <tr id="linha1">
                    <td class="style1">
                        <asp:Label ID="lblNome1" runat="server" Text="Nome do primeiro hóspede:"></asp:Label>
                        <asp:Label ID="lblVerificacaoNome" runat="server" Text="*" ForeColor="Red"></asp:Label><br />
                        <asp:TextBox onkeyup="formataTexto(this,event,'Aaa');" ID="txtNome1" runat="server"
                            Width="200px" MaxLength="35"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblRG1" runat="server" Text="RG do primeiro hóspede:"></asp:Label>
                        <asp:Label ID="lblVerificacaoRG" runat="server" Text="*" ForeColor="Red"></asp:Label><br />
                        <asp:TextBox onkeyup="formataRG(this,event);" ID="txtRG1" runat="server" Width="115px"
                            MaxLength="12"></asp:TextBox>
                    </td>
                </tr>
                <tr id="linha2">
                    <td class="style1">
                        <asp:Label ID="lblNome2" runat="server" Text="Nome do segundo hóspede:"></asp:Label><br />
                        <asp:TextBox onkeyup="formataTexto(this,event,'Aaa');" ID="txtNome2" runat="server"
                            Width="200px" MaxLength="35"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblRG2" runat="server" Text="RG do segundo hóspede:"></asp:Label><br />
                        <asp:TextBox onkeyup="formataRG(this,event);" ID="txtRG2" runat="server" Width="115px"
                            MaxLength="12"></asp:TextBox>
                    </td>
                </tr>
                <tr id="linha3">
                    <td class="style1">
                        <asp:Label ID="lblNome3" runat="server" Text="Nome do terceiro hóspede:"></asp:Label><br />
                        <asp:TextBox onkeyup="formataTexto(this,event,'Aaa');" ID="txtNome3" runat="server"
                            Width="200px" MaxLength="35"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblRG3" runat="server" Text="RG do terceiro hóspede:"></asp:Label><br />
                        <asp:TextBox onkeyup="formataRG(this,event);" ID="txtRG3" runat="server" Width="115px"
                            MaxLength="12"></asp:TextBox>
                    </td>
                </tr>
                <tr id="linha4">
                    <td class="style1">
                        <asp:Label ID="lblNome4" runat="server" Text="Nome do quarto hóspede:"></asp:Label><br />
                        <asp:TextBox onkeyup="formataTexto(this,event,'Aaa');" ID="txtNome4" runat="server"
                            Width="200px" MaxLength="35"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblRG4" runat="server" Text="RG do quarto hóspede:"></asp:Label><br />
                        <asp:TextBox onkeyup="formataRG(this,event);" ID="txtRG4" runat="server" Width="115px"
                            MaxLength="12"></asp:TextBox>
                    </td>
                </tr>
                <tr id="linha5">
                    <td class="style1">
                        <asp:Label ID="lblNome5" runat="server" Text="Nome do quinto hóspede:"></asp:Label><br />
                        <asp:TextBox onkeyup="formataTexto(this,event,'Aaa');" ID="txtNome5" runat="server"
                            Width="200px" MaxLength="35"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblRG5" runat="server" Text="RG do quinta hóspede:"></asp:Label><br />
                        <asp:TextBox onkeyup="formataRG(this,event);" ID="txtRG5" runat="server" Width="115px"
                            MaxLength="12"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </fieldset>
        <div align="left" style="width: 54%; float: left">
            <asp:Button ID="btnSalvar" runat="server" Text="Salvar" Width="100px" OnClick="btnSalvar_Click" />
            <asp:Button ID="btnLimpar" runat="server" Text="Limpar" Width="100px" OnClick="btnLimpar_Click" />
            <asp:Button ID="btnVoltar" runat="server" Text="Voltar" Width="100px" OnClick="btnVoltar_Click" />
        </div>
    </div>
</asp:Content>
